package com.zues.samples.service.modelVO;

import java.sql.Date;
import java.util.Set;

import org.springframework.format.annotation.DateTimeFormat;

import com.zues.samples.model.UserSubject;

public class UserVO {
	private String userID;
	// 名字
	private String userName;
	// 密码
	private String password;
	// 电话
	private String tel;
	// 邮箱
	private String email;
	// 地址
	private String address;
	// 生日
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date birthday;
	// 性别
	private int gender;
	// 最后状态时间
	private java.util.Date lastLockTime;
	// 登录失败次数
	private Integer loginFailCount;

	private String roleName;
	
	private Integer role;
	
	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	private Set<UserSubject> userSubject;

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public java.util.Date getLastLockTime() {
		return lastLockTime;
	}

	public void setLastLockTime(java.util.Date lastLockTime) {
		this.lastLockTime = lastLockTime;
	}

	public Integer getLoginFailCount() {
		return loginFailCount;
	}

	public void setLoginFailCount(Integer loginFailCount) {
		this.loginFailCount = loginFailCount;
	}

	public Set<UserSubject> getUserSubject() {
		return userSubject;
	}

	public void setUserSubject(Set<UserSubject> userSubject) {
		this.userSubject = userSubject;
	}

}
